s=0
p=0
n=0
for n in range(0,101):
    if n%2==0:
     s=s+n
    else:
        p=p+n
print(f"\n一百以内的偶数和为{s}\n一百以内的奇数和为{p}")

